package com.day16.java;

import java.util.Arrays;
import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        int[] nums ={32,54,56,45,24,67};
        Arrays.sort(nums);
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数字");
        int one = input.nextInt();

        int index = Arrays.binarySearch(nums,one);

    }
}
